﻿using DA.Model.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DA.Utility.Extensions
{
    public static class DataTypeConverter
    {
        public static DaDataType ToDaType(this string str)
        {
            return (DaDataType)Enum.Parse(typeof(DaDataType), str.Trim().ToUpper());
        }
    }
}
